/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-05-25 17:25:04
 * @LastEditTime: 2024-06-04 22:56:19
 * @FilePath: /nest_study/src/modules/system/role/role.module.ts
 */
import { Module } from '@nestjs/common';
import { RoleService } from './role.service';
import { RoleController } from './role.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SystemRoleEntity } from './entities/role.entity';
import { SystemMenuEntity } from '../menu/entities/menu.entity';
import { SystemUserEntity } from '../user/entities/user.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      SystemRoleEntity,
      SystemMenuEntity,
      SystemUserEntity
    ]),
  ],
  controllers: [RoleController],
  providers: [RoleService],
})
export class RoleModule { }
